package com.yu.utils;

import java.util.UUID;

public class CodeUtil {
	//生成唯一的激活码
	public static String generateUniqueCode(){
		return UUID.randomUUID().toString().replaceAll("-", "");
	}
	public static Integer gennerateRandomCode(){
		return (int) (Math.random()*900000+100000);
	}
}
